<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="b" uri="/bbs-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<!--[if lt IE 7]> 
	<script type="text/javascript" src="js/ie6png.js"></script>
	<![endif]-->

		<link rel="stylesheet" type="text/css" href="css/header.css">
		<link rel="stylesheet" type="text/css" href="css/footer.css">
		<script type="text/javascript" src="js/parseIcon.js">
</script>
		<script type="text/javascript" src="js/jquery.js">
</script>
		<style type="text/css">
#container {
	width: 960px;
	margin: auto;
}

/**头部*/
#headerBottom {
	float: left;
	width: 958px;
	height: 36px;
	margin: 6px 0 0 0;
	display: inline; /**IE margin加倍Bug*/
	border: solid 1px #CCC;
}

#headerBottomLeft {
	float: left;
	width: 299px;
	height: 36px;
	background: url("images/search.gif") 0 -36px;
}

#headerBottomRight {
	float: right;
	width: 657px;
	height: 36px;
	background: url("images/search.gif") 0 0px;
	height: 36px;
	background: url("images/search.gif") 0 0px;
}

/**中部*/
#content {
	width: 958px;
	border: solid 1px #CCC;
	float: left;
	margin: 15px 0 0 0;
	display: inline;
}

#contentLeft {
	float: left;
	width: 125px;
	height: 450px;
	background: #E8F0F7;
}

#contentLeft ul li {
	float: left;
	width: 124px;
	padding: 8px 0 0 0;
	height: 22px !important;
	height: 30px;
	font-size: 15px;
	height: 30px;
	color: #666;
	border-bottom: dashed 1px #D8D8D8;
}

#contentRight {
	width: 820px;
	float: left;
}

#contentRight1 {
	width: 800px;
	float: left;
	height: 40px;
	margin: 0px 0 0 10px;
	display: inline;
	border-bottom: solid 1px #E3E6EB;
	display: inline;
}

#contentRight1 span {
	float: left;
	color: #666;
	font-size: 13px;
	font-weight: 600;
	margin: 10px 0 0 10px;
	display: inline;
}

.contentRight2-1 {
	float: left;
	width: 800px;
	height: 20px;
	margin: 10px 0 0 10px;
	display: inline;
	margin: 10px 0 0 10px;
}

.contentRight2-1-1 {
	float: left;
	margin: 0px 0 0 50px;
	padding: 4px 0 0 0;
	width: 80px;
	height: 16px !important;
	height: 20px;
	display: inline;
	height: 20px;
	height: 16px !important;
	color: #444;
}

.contentRight2-1-2 {
	float: left;
	margin: 0px 0 0 50px;
	display: inline;
}

.contentRight2-2 {
	float: left;
	width: 800px;
	height: 200px;
	margin: 10px 0 0 10px;
	display: inline;
}

.contentRight2-2-1 {
	float: left;
	margin: 0px 0 0 50px;
	padding: 4px 0 0 0;
	width: 80px;
	height: 16px !important;
	height: 20px;
	display: inline;
	color: #444;
}

.contentRight2-2-2 {
	float: left;
	margin: 0px 0 0 50px;
	display: inline;
}

#contentRight3 {
	float: left;
	margin: 10px 0 0 200px;
	display: inline;
}
</style>
		<script type="text/javascript">
function onsubmitType(type) {
	if (type == 1) {
		document.publicMailEditForm.action = "publishMailAction_publicshMail";
		return true;
	}
	if (type == 2) {
		document.publicMailEditForm.action = "publishMailAction_publishsaveMail";
		return true;
	}
}
</script>
	</head>

	<body onload="">
		<div id="container">
			<%@ include file="styleJsp/header.jsp"%>
			<div id="headerBottom">
				<div id="headerBottomLeft"></div>
				<div id="headerBottomRight"></div>
			</div>
			<!-- 中部 -->
			<div id="content">
				<div id="contentLeft">
					<ul>
						<a href="publishMailEdit.jsp">
							<li>
								写消息
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=all">
							<li>
								收件箱
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=draft">
							<li>
								草稿箱
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=sent">
							<li>
								已发送
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=delete">
							<li>
								已删除
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=rubbish">
							<li>
								垃圾箱
							</li> </a>
					</ul>
				</div>
				<form action="" method="post" name="publicMailEditForm">
					<div id="contentRight">
						<div id="contentRight1">
							<span>写信箱</span>
						</div>
						<div id="contentRight2">
							<div class="contentRight2-1">
								<span class="contentRight2-1-1">收件人</span><span
									class="contentRight2-1-2"><input type="text" name="toUserName"
										value="" style="width: 450px; height: 20px; text-align: left;">
								</span>

							</div>
							<div class="contentRight2-1">
								<span class="contentRight2-1-1">主题</span><span
									class="contentRight2-1-2"><input type="text" name="mailTitle"
										value="" style="width: 450px; height: 20px; text-align: left;">
								</span>
							</div>
							<div class="contentRight2-2">
								<span class="contentRight2-2-1">内容</span><span
									class="contentRight2-2-2"><b:editTable height="200"
										width="450" /> </span>
							</div>
						</div>
						<div id="contentRight3">
							<span class="contentRight3-1"><input type="submit"
									value="发送" onclick="onsubmitType(1)" /> </span><span
								class="contentRight3-2"><input type="submit" value="存为草稿"
									onclick="onsubmitType(2)" /> </span>
						</div>
					</div>
				</form>
			</div>
			<%@ include file="styleJsp/footer.jsp"%>
		</div>
	</body>
</html>
